/**
 * 基础模块 - webhook
 */
import request from '@/utils/requestServe';


/**
 * @params
 * webhook配置 分页查询接口
 */
export const webhookQueryList = (data) => {
    return request( {
        url: '/webhook/conf/webhookQuery',
        method: 'POST',
        data
    })
}

/**
 * @params
 * webhook配置 不分页查询接口
 */
export const webhookList = (data) => {
    return request( {
        url: '/webhook/conf/webhookList',
        method: 'POST',
        data
    })
}

/**
 * @params
 * webhook配置 删除接口
 */
export const webhookDelete = (data) => {
    return request( {
        url: '/webhook/conf/webhookDelete',
        method: 'POST',
        data
    })
}

/**
 * @params
 * webhook配置 新增接口
 */
export const webhookAdd = (data) => {
    return request( {
        url: '/webhook/conf/webhookAdd',
        method: 'POST',
        data
    })
}

/**
 * @params
 * webhook配置 修改接口
 */
export const webhookUpdate = (data) => {
    return request( {
        url: '/webhook/conf/webhookUpdate',
        method: 'POST',
        data
    })
}

/**
 * @params
 * webhook配置 明细接口
 */
export const webhookDetail = (data) => {
    return request( {
        url: '/webhook/conf/webhookDetail',
        method: 'POST',
        data
    })
}